MimerConnection connection = new MimerConnection();
//
// Open a connection to the database server ExampleDB on the same node (local) as the client
//
connection.ConnectionString = "Database=ExampleDB;Protocol=local;User Id=MIMER_STORE;Password=GoodiesAreUs";
try {
connection.Open();
string [] restrictionValues = new string[2];
restrictionValues[0] = "SCHEMA"; // Schema name
restrictionValues[1] = null; // Table name
//
// Get a DataTable with all tables owned by the ident SCHEMA
//
DataTable metaData = connection.GetSchema("Tables", restrictionValues);
} finally {
if (connection.State != ConnectionState.Closed) {
connection.Close();
}
}